package com.itestor.iptv.modules.common.domain;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "SYSTEMLOG")
public class SystemLog {
    
    /**
     * 主键值
     */
    private Integer id;

    /**
     * 登录日志、更新日志、删除日志
     */
    private Integer logType;
    /**
     * 操作人
     */
    private String operator;
    /**
     * 日志时间
     */
    private Date logTime;
    /**
     * 日志描述
     */
    private String logDesc;
    /**
     * 客户端IP.
     */
    private String clientIp;
    
    @Id
    @GeneratedValue
    @Column(name = "ID")
    public Integer getId() {
        return id;
    }

    public void setId(Integer pId) {
        id = pId;
    }

    @Column(name = "LOGTYPE")
    public Integer getLogType() {
        return logType;
    }

    public void setLogType(Integer pLogType) {
        logType = pLogType;
    }

    @Column(name = "LOGDESC")
    public String getLogDesc() {
        return logDesc;
    }

    public void setLogDesc(String pLogDesc) {
        logDesc = pLogDesc;
    }

    @Column(name = "LOGTIME")
    public Date getLogTime() {
        return logTime;
    }

    public void setLogTime(Date pLogTime) {
        logTime = pLogTime;
    }

    @Column(name = "OPERATOR")
    public String getOperator() {
        return operator;
    }

    public void setOperator(String pOperator) {
        operator = pOperator;
    }
    
    @Column(name = "CLIENTIP")
    public String getClientIp() {
        return clientIp;
    }

    public void setClientIp(String pClientIp) {
        clientIp = pClientIp;
    }
    
    
}

